<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/10/26 0026
 * Time: 上午 11:32
 */
use think\facade\Route;

Route::get('/','index/index');
Route::get('verify','/index/index/verify');
Route::get('newsdetails/:id','news/index');
Route::get('casedetails/:id','cases/index');
Route::get('ajaxnews','index/category/ajaxNews');
Route::get('ajaxcases','index/category/ajaxcases');
Route::get('item/:pid-[:id]', 'index/category/index')->pattern(['pid' => '\w+', 'id' => '\d+']);
Route::get('items/:pid-[:id]/:lesson_cat_id', 'index/category/index')->pattern(['pid' => '\w+', 'id' => '\d+' , 'lesson_cat_id' => '\d+\:\d+(-\d+\:\d+)*' ]);
Route::get('lesson/:id','category/lesson')->pattern(['id' => '\d+']);
Route::get('contact','contact/index');
Route::post('contact','contact/index');
Route::get('about','category/about');

Route::post('wxapply','index/index/apply');

Route::get('news/:pid','news/cate');








